<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>

<!doctype html>
<html lang="zh">
<head>
<meta charset="utf-8">
<title>注册_铜掌柜平台注册 – 铜掌柜</title>
<base href="<%=request.getContextPath()%>/">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="format-detection" content="telephone=no">
<link rel="icon"
	href="assets4/build/statics/images/favicon.ico?v=20170821">
<link rel="shortcut icon"
	href="assets4/build/statics/images/favicon.ico?v=20170821">
<link rel="stylesheet"
	href="assets4/build/statics/common.css?v=20170821">
<link rel="stylesheet"
	href="assets4/build/home/statics/home.css?v=20170821">
<script type="text/javascript"- 
	src="//aeu.alicdn.com/waf/792aff34d52a0087d4a92f1aa62e8db3.js?t=1503546349"></script>
<script src="assets4/build/statics/js/require.js?v=20170821"></script>
<script type="text/javascript" src="js/jquery-3.2.1.js"></script>
<script>
	window.basePath = "https://www.tzg.cn";
	window.staticUploadUrl = "https://upload.tzg.cn";
	//获取手机号
	function getPhone() {
		//alert("111");
		var username=document.getElementById("phone").value;
		$.post("register/messageVerifies",
				{'name':username},
				function(data){
					alert(data);
					close();
					}
				);
	}
	//验证手机号在数据库是否已存在
	function getmoblie(){
		var username=document.getElementById("phone").value;
		if(username==null){
			alert("手机号不能为空");
		} 
		$.post("register/captchaMoblie",
				{'name':username},
				function(data){
					$("#resultPhone").text(data);
					//setTimeout("function(data)",2000);
					}
				);
	}
	//captcha：验证码
	function getCaptcha() {
		//alert("222");
		var yanzhengma=document.getElementById("yanzhengma").value;
		$.post("register/captcha",
			{'yanzhengma':yanzhengma},
			function(data){
				$("resultYanZhengMa").text(data);
			});
	}
	</script>
<script>
	(function(srcPath, buildPath, host) {
		var path = ((host.indexOf("192.168") === 0
				|| host.indexOf("127.0.0.1") === 0 || host.indexOf("localhost") === 0) & host !== "192.168.1.70") ? srcPath
				: buildPath;
		requirejs
				.config({
					baseUrl : path,
					packages : [ {
						name : 'page/home',
						location : './home/pages'
					}, {
						name : 'page/member',
						location : './member/pages'
					}, {
						name : 'com',
						location : './components'
					}, {
						name : 'widget',
						location : './widgets'
					}, {
						name : 'lib',
						location : './libs'
					}, {
						name : 'jquery',
						location : './libs/jquery',
						main : 'jquery-1.12.1'
					}, {
						name : 'zrender',
						location : './libs/zrender',
						main : 'zrender.js'
					} ],
					paths : {
						ajaxForm : './components/jquery.ajaxForm/jquery.ajaxForm',
						'ajaxForm.4cryption' : './components/jquery.ajaxForm/jquery.ajaxForm.4cryption',
						dialog : './components/dialog/dialog',
						juicer : './components/juicer/juicer',
						datePicker : './libs/my97DatePicker/WdatePicker'
					},
					shim : {
						'lib/jquery.SuperSlide/jquery.SuperSlide' : {
							deps : [ 'jquery' ]
						},
						'datePicker' : {
							exports : "WdatePicker"
						},
						'lib/jquery.jcryption/jquery.jcryption' : {
							deps : [ 'jquery' ]
						},
						'lib/jquery.tabs/jquery.tabs' : {
							deps : [ 'jquery' ]
						},
						'lib/ZoomPic/ZoomPic' : {
							deps : [ 'jquery' ]
						},
						'lib/tooltip/tipso' : {
							deps : [ 'jquery' ]
						}
					},
					urlArgs : "v=20170821"
				});
	})("/assets4/src", "/assets4/build", window.location.host);
</script>
<!--[if lt IE 9]>
<script src="/assets4/build/statics/js/html5shiv.js"></script>
<![endif]-->
<script>
	var _hmt = _hmt || [];
	(function() {
		var hm = document.createElement("script");
		hm.src = "//hm.baidu.com/hm.js?2765534d5f552ae3d6b93a6f18c145d3";
		var s = document.getElementsByTagName("script")[0];
		s.parentNode.insertBefore(hm, s);
	})();
</script>
<style type="text/css">
#code {
	width:60px;
	height:45px;
	font-family: Arial;
	font-style: italic;
	font-weight: bold;
	border: 0;
	letter-spacing: 2px;
	color: blue;
	background-color: #f5f6f7;
}
#input{
	width: 260px;
	height: 45px;
	border:1px;
    background-color: #f5f6f7;
}
</style>
<script type="text/javascript">
	var code;
	var code2;//在全局定义验证码   
	//产生验证码  
	function createCode() {
		code = "";
		var codeLength = 4;//验证码的长度  
		var checkCode = document.getElementById("code");
		var random = new Array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 'A', 'B', 'C',
				'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O',
				'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z');//随机数  
		for (var i = 0; i < codeLength; i++) {//循环操作  
			var index = Math.floor(Math.random() * 36);//取得随机数的索引（0~35）  
			code += random[index];//根据索引取得随机数加到code上  
		}
		checkCode.value = code;//把code值赋给验证码  
	}
	//校验验证码  
	function upperCase() {
		var code2 = document.getElementById("input").val().toLowerCase();
		if (code2 != code) {
			document.getElementById("tishi").innerHTML = "验证码不正确";
			document.document.getElementById("input").value = "";//清空文本框
		}
	}
	createCode();
	
	
	

</script>
</head>
<body>

	<div class="pg">
		<header class="v4-hd">
			<div class="v4-topbar">
				<div class="v4-topbar_hotline">
					<i class="icon-telephone"></i>400-608-2233
				</div>
				<div class="v4-topbar_links">
					<a href="javascript:void(0)">关于我们</a> <a
						href="javascript:void(0)">帮助中心</a>
				</div>
				<ul class="shares v4-topbar_share">
					<li class="-wechat"><span class="shares_icon"></span> <span
						class="shares_float-layer"> <img
							src="assets4/build/statics/images/qr-wechat.png"
							alt="铜掌柜微信服务号二维码"> <span class="shares_float-layer_title">铜掌柜微信服务号</span>
					</span></li>
					<li class="-weibo"><a href="javascript:void(0)"
						rel="nofollow" target="_blank" class="shares_icon"></a> <span
						class="shares_float-layer"> <img
							src="assets4/build/statics/images/qr-weibo.png" alt="铜掌柜微博二维码">
							<a href="http://weibo.com/u/5189936305" rel="nofollow"
							target="_blank" class="shares_float-layer_title">@铜掌柜微博</a>
					</span></li>
					<li class="-app"><a href="javascript:void(0)"
						class="shares_icon"></a> <span class="shares_float-layer">
							<img src="assets4/build/statics/images/qr-app.png"
							alt="铜掌柜APP二维码"><a href="https://app.tzg.cn/"
							class="shares_float-layer_title">下载铜掌柜APP</a>
					</span></li>
				</ul>
				<div class="v4-topbar_sign-in">
					<a href="register/registers" class="tiny-btn -hollow">注册</a>
					<a href="jspFolder/login" class="tiny-btn">登录</a>
				</div>
			</div>
			<div class="v4-hd_main">
				<div class="v4-hd_logo">
					<a href="https://www.tzg.cn/" class="-pic">铜掌柜</a> <span
						class="-desc">网络借贷信息中介平台</span>
				</div>
				<nav class="v4-hd_nav">
					<a href="invest/index/">首 页</a> <a
						href="invest/daikuntouzi?pageSize=15">我要投资</a> <a
						href="javascript:void(0)">安全保障</a> <a
						href="reports/listOfBranch?typeId=1">信息披露</a>
					<!---->
					<!--<a href="https://www.tzg.cn/growth/page">掌柜俱乐部</a>-->
					<!---->
					<a href="javascript:void(0)">掌柜吧</a>
				</nav>
			</div>
		</header>

		<div class="v4-bd">
			<div class="bd-white-block register-block clearfix">
				<form method="post" action="register/doRegister"
					class="register-block_form register-form gray-ipt"
					id="register_form">
					<input type="hidden" name="CSRFToken"
						value="7821e0d7514d470e9e743a23465bc890" id="j_input_csrftoken" />
					<h3 class="register-form_title">注册</h3>


					<div class="hide-by-position">
						<input type="text" name="thisIsJustAPlaceholderInput" value="">
						<input type="password" name="thisIsJustAPlaceholderPassword"
							value="">
					</div>
					<div class="v4-form-item">
						<input type="text" id="phone" value="" name="username" onblur="getmoblie()" maxlength="11"
							class="ipt" placeholder="手机号码" autocomplete="off" required
							j-phone>
							<p id="resultPhone" style="font-size: 8px;color: red;"></p>
					</div>

					<div>
						<input id="input" placeholder="请点击右侧刷新验证码，并输入验证码" onblur="upperCase()" /> <input
							type="button" id="code" onclick="createCode()" /> <span
							id="tishi" style="color: red;"></span>
					</div>
					<div class="v4-form-item">
						<div class="captcha-group layout-rel" j-sms-captcha-group>
							<button type="button" class="btn2 -primary captcha-group_btn" id="huoqu" onclick="javascript:getPhone()">获取</button>
							<input type="text" name="dynamicVerifyCode" onblur="getCaptcha()" id="yanzhengma" maxlength="4" 
								class="ipt captcha-group_ipt" autocomplete="off"
								placeholder="短信验证码" required><p id="resultYanZhengMa" style="font-size: 8px;color: red;"></p>
						</div>
					</div>



					<div class="v4-form-item">
						<input type="password" name="password" maxlength="20" class="ipt"
							placeholder="密码" required>
					</div>

					<div class="folding-items -folded" id="invitecode_item">
						<div class="folding-items_title j-title">我有邀请码</div>
						<div class="folding-items_content v4-form-item">
							<input type="text" name="inviteCode" value="" class="ipt"
								placeholder="邀请码" autocomplete="off">
						</div>
					</div>

					<div class="form-action">
						<button type="submit" name="submity" class="btn -primary -full">立即注册</button>
					</div>

					<label class="form-protocol c-gray-light lc-primary"> <input
						type="checkbox" name="agreeProtocol" value="true" checked required>
						已阅读并同意<a
						href="javascript:void(0)"
						id="view_register_protocol">《铜掌柜注册协议》</a> <input type="hidden"
						name="registerSource" value="">
					</label>
				</form>

				<div class="register-block_adv register-image">
					<div class="register-image_inner">
						<a href="javascript:void(0)"
							target="_blank"><img
							src="https://upload.tzg.cn/upload/201704/20170406205250942521.png"
							alt=""></a>
					</div>
				</div>
			</div>
		</div>



		<footer class="v4-ft">
			<div class="v4-ft_inner">
				<div class="v4-ft_links">
					<div class="v4-ft_links_col">
						<a href="javascript:void(0)">关于我们</a> <a
							href="javascript:void(0)">联系我们</a> <a
							href="javascript:void(0)">合作机构</a> <a
							href="javascript:void(0)">加入我们</a>
					</div>
					<div class="v4-ft_links_col">
						<a href="javascript:void(0)">安全保障</a> <a
							href="javascript:void(0)">平台数据</a> <a
							href="javascript:void(0)" target="_blank">地区频道</a> <a
							href="javascript:void(0)" target="_blank">金融百科</a>
					</div>
					<div class="v4-ft_links_col">
						<a href="javascript:void(0)">帮助中心</a> <a
							href="javascript:void(0)">注册登录</a>
						<a
							href="javascript:void(0)">充值提现</a>
						<a href="javascript:void(0)">投资须知</a>
					</div>
				</div>

				<div class="v4-ft_contact">
					<p>客服热线：</p>
					<p class="v4-ft_contact_tel">400-608-2233</p>
					<p>服务时间：08:30-20:30</p>
					<p>
						关注我们： <span class="ft-share"> <span
							class="ft-share_icon -wechat"></span> <span
							class="ft-share_content"> <img
								src="assets4/build/statics/images/qr-wechat.png"
								alt="铜掌柜微信服务号二维码">
						</span>
						</span> <span class="ft-share"> <a
							href="http://weibo.com/u/5189936305" rel="nofollow"
							target="_blank" class="ft-share_icon -weibo"></a> <span
							class="ft-share_content"> <img
								src="assets4/build/statics/images/qr-weibo.png" alt="铜掌柜微博二维码">
						</span>
						</span>
					</p>
				</div>

				<div class="v4-ft_qrcode">
					<img src="assets4/build/statics/images/qr-app.png" alt="下载铜掌柜APP">
					下载铜掌柜APP
				</div>

				<div class="v4-ft_certs">
					<a class="-norton" target="_blank" rel="nofollow"
						href="https://trustsealinfo.verisign.com/splash?form_file=fdf/splash.fdf&amp;dn=www.tzg.cn&amp;lang=zh_cn">诺顿检测</a>
					<a class="-trustutn" target="_blank" rel="nofollow"
						href="http://si.trustutn.org/info?sn=296160111000359008412"></a> <a
						class="-itrust" target="_blank" rel="nofollow"
						href="http://www.itrust.org.cn/Home/Index/itrust_certifi?wm=196315438Q"></a>
					<a key="56c6bd51efbfb010cf4765f6" logo_size="83x30"
						logo_type="business" href="http://www.anquan.org"> <script
							src="//static.anquan.org/static/outer/js/aq_auth.js"></script></a> <a
						rel="nofollow" target="_blank"
						href="http://ec.eqixin.com/?sn=QX2774451020031499063085"><img
						width="83" height="30"
						src="https://t1.tzg.cn/statics/images/company.png"></a>
				</div>

				<div class="v4-ft_copyright">
					<p>&copy; 2014-2017 杭州铜米互联网金融服务有限公司 版权所有</p>
					<p>浙ICP备14026205号 浙公网安备13011445号</p>
				</div>
			</div>
		</footer>
		<div class="v4-ft-placeholder"></div>

		<div class="side-toolbar">
			<div class="v4-toolbar-item">
				<a href="javascript:;" class="v4-toolbar-item_icon zhichikefu">&#xea58;</a>
				<div class="v4-toolbar-item_content">
					<div class="toolbar-popup-items">
						<p class="popup-text-item -strong">在线客服</p>
						<p class="popup-text-item">服务时间：08:30-20:30</p>
					</div>
				</div>
			</div>
			<div class="v4-toolbar-item">
				<div class="v4-toolbar-item_icon">&#xea40;</div>
				<div class="v4-toolbar-item_content">
					<div class="toolbar-popup-items">
						<p class="popup-text-item -strong">客服热线：400-608-2233</p>
						<p class="popup-text-item">服务时间：08:30-20:30</p>
						<p class="popup-text-item -strong mt2-ah">回访专线：0571-26300646</p>
						<p class="popup-text-item">工 作 日 ：09:00-18:00</p>
					</div>
				</div>
			</div>
			<div class="v4-toolbar-item">
				<div class="v4-toolbar-item_icon">&#xea39;</div>
				<div class="v4-toolbar-item_content">
					<a href="javascript:void(0)" target="_blank"
						class="toolbar-popup-qrcode"><img
						src="assets4/build/statics/images/qr-app.png" alt="下载铜掌柜APP">下载铜掌柜APP</a>
				</div>
			</div>
			<div class="v4-toolbar-item -scroll-top" id="scroll_top_btn">
				<a href="#top" class="v4-toolbar-item_icon -light">&#xea01;</a>
			</div>
		</div>
		<script
			src="https://www.tzg.cn/assets4/src/home/widgets/zhichikefu.js?sysNum=9e1b4e3450134a46aa2b090913095d57&partnerId=0&uname=&tel="
			id="zhichiload" class="zhichikefu"></script>
	</div>






	<script>
		require([ 'widget/footer/footer', 'page/home/register/register' ])
	</script>


</body>
</html>
